<!DOCTYPE html>
<html>
<head>
    <title></title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div>
        <Row :gutter="16">
            <div class="search-group">
                <i-col span="2">
                    <i-select v-model="q.operation" clearable placeholder="操作方式">
                        <i-option v-for="operation in operations" :value="operation.id" :key="operation.id">{{operation.name}}
                        </i-option>
                    </i-select>
                </i-col>
                <i-col span="2" v-if="q.operation==1">
                    <i-input v-model="q.sysMobile" placeholder="转账人手机号" :maxlength="11" clearable/>
                </i-col>
                <i-col span="2" v-if="q.operation">
                    <i-input v-model="q.nideshopMobile" placeholder="收款人手机号" :maxlength="11" clearable/>
                </i-col>
                <i-col span="5" v-if="q.operation==1">
                    <Date-picker v-model="q.dateRange" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" placeholder="日期选择" style="width:100%"></Date-picker>
                </i-col>
                <i-col span="3" v-if="q.operation==2">
                    <i-select v-model="q.period" clearable placeholder="统计周期(默认日)">
                        <i-option v-for="period in periods" :value="period.id" :key="period.id">{{period.name}}
                        </i-option>
                    </i-select>
                </i-col>
                <i-col span="2" v-if="q.operation==1">
                    <i-button @click="query"  type="primary" icon="ios-search">查询</i-button>
                </i-col>
                <i-col span="2" v-if="q.operation==2">
                    <i-button @click="statistics"  type="primary" icon="ios-stats-outline">统计</i-button>
                </i-col>
            </div>
        </Row>
        <div v-show="q.operation!=2">
            <table id="jqGrid"></table>
            <div id="jqGridPager"></div>
        </div>
        <div v-show="q.operation!=1">
            <table id="jqGrids" style="width: 100%;"></table>
            <div id="jqGridsPager"></div>
        </div>
    </div>
</div>

<script src="${rc.contextPath}/js/shop/remitlog.js?_${date.systemTime}"></script>
</body>
</html>
